package com.aboverock.core.token;

import com.aboverock.common.enums.UserTypeEnum;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * The Class LdapUserLoginToken.
 *
 * @author Rock Wang
 */
public class LdapUserLoginToken extends UsernamePasswordToken {

    private static final long serialVersionUID = 4419394828558204503L;

    private int userType;

    public LdapUserLoginToken(String username, String password) {
        super(username, password);
        this.userType = UserTypeEnum.AD.getValue();
    }

    public int getUserType() {
        return userType;
    }

}
